package com.local.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "car_park_out_copy")
public class CarParkOutCopy
{
	@NotEmpty
	@Length(min = 1, max = 32)
	@Column(name = "uuid")
	private String uuid;
	
	@Column(name = "car_no")
	private String carNo;
	
	@Column(name = "create_time")
	private Date createTime;
	
	@Column(name = "pic_1")
	private String pic1;
	
	@Column(name = "pic_2")
	private String pic2;
	
	@Column(name = "exchange_uuid")
	private String exchangeUuid;
	
	@Column(name = "equipment")
	private String equipment;
	
	@Column(name = "open_time")
	private String openTime;
	
	@Column(name = "car_in_uuid")
	private String carInUuid;
	
	@Column(name = "version")
	private Double version;
	
	@NotNull
	@Column(name = "pay_status")
	private Byte payStatus;
	
	@Column(name = "record_id")
	private String recordId;
	
	@Column(name = "status_")
	private Integer status;
	
	@Column(name = "car_no_self")
	private String carNoSelf;
	
	@Column(name = "brand_")
	private String brand;
	
	@Column(name = "color_")
	private String color;
	
	@Column(name = "type_")
	private String type;
	
	@Column(name = "attr1")
	private String attr1;
	
	@Column(name = "attr2")
	private String attr2;
	
	@Column(name = "attr3")
	private String attr3;
	
	@Column(name = "attr4")
	private String attr4;
	
	@Column(name = "open_mode")
	private Integer openMode;
	
	@Column(name = "station_uuid")
	private String stationUuid;
	
	@Column(name = "plate_color")
	private Integer plateColor;
	
	@Column(name = "plate_type")
	private Integer plateType;
	
	@Column(name = "plate_confidence")
	private Integer plateConfidence;
	
	@Column(name = "ic_number")
	private String icNumber;
	
	@Column(name = "car_type")
	private String carType;
	
	@Column(name = "bill_type")
	private String billType;
	
	@Column(name = "original_car_no")
	private String originalCarNo;
	
	public String getUuid()
	{
		return uuid;
	}
	
	public void setUuid(String uuid)
	{
		this.uuid = uuid == null ? null : uuid.trim();
	}
	
	public String getCarNo()
	{
		return carNo;
	}
	
	public void setCarNo(String carNo)
	{
		this.carNo = carNo == null ? null : carNo.trim();
	}
	
	public Date getCreateTime()
	{
		return createTime;
	}
	
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	public String getPic1()
	{
		return pic1;
	}
	
	public void setPic1(String pic1)
	{
		this.pic1 = pic1 == null ? null : pic1.trim();
	}
	
	public String getPic2()
	{
		return pic2;
	}
	
	public void setPic2(String pic2)
	{
		this.pic2 = pic2 == null ? null : pic2.trim();
	}
	
	public String getExchangeUuid()
	{
		return exchangeUuid;
	}
	
	public void setExchangeUuid(String exchangeUuid)
	{
		this.exchangeUuid = exchangeUuid == null ? null : exchangeUuid.trim();
	}
	
	public String getEquipment()
	{
		return equipment;
	}
	
	public void setEquipment(String equipment)
	{
		this.equipment = equipment == null ? null : equipment.trim();
	}
	
	public String getOpenTime()
	{
		return openTime;
	}
	
	public void setOpenTime(String openTime)
	{
		this.openTime = openTime == null ? null : openTime.trim();
	}
	
	public String getCarInUuid()
	{
		return carInUuid;
	}
	
	public void setCarInUuid(String carInUuid)
	{
		this.carInUuid = carInUuid == null ? null : carInUuid.trim();
	}
	
	public Double getVersion()
	{
		return version;
	}
	
	public void setVersion(Double version)
	{
		this.version = version;
	}
	
	public Byte getPayStatus()
	{
		return payStatus;
	}
	
	public void setPayStatus(Byte payStatus)
	{
		this.payStatus = payStatus;
	}
	
	public String getRecordId()
	{
		return recordId;
	}
	
	public void setRecordId(String recordId)
	{
		this.recordId = recordId == null ? null : recordId.trim();
	}
	
	public Integer getStatus()
	{
		return status;
	}
	
	public void setStatus(Integer status)
	{
		this.status = status;
	}
	
	public String getCarNoSelf()
	{
		return carNoSelf;
	}
	
	public void setCarNoSelf(String carNoSelf)
	{
		this.carNoSelf = carNoSelf == null ? null : carNoSelf.trim();
	}
	
	public String getBrand()
	{
		return brand;
	}
	
	public void setBrand(String brand)
	{
		this.brand = brand == null ? null : brand.trim();
	}
	
	public String getColor()
	{
		return color;
	}
	
	public void setColor(String color)
	{
		this.color = color == null ? null : color.trim();
	}
	
	public String getType()
	{
		return type;
	}
	
	public void setType(String type)
	{
		this.type = type == null ? null : type.trim();
	}
	
	public String getAttr1()
	{
		return attr1;
	}
	
	public void setAttr1(String attr1)
	{
		this.attr1 = attr1 == null ? null : attr1.trim();
	}
	
	public String getAttr2()
	{
		return attr2;
	}
	
	public void setAttr2(String attr2)
	{
		this.attr2 = attr2 == null ? null : attr2.trim();
	}
	
	public String getAttr3()
	{
		return attr3;
	}
	
	public void setAttr3(String attr3)
	{
		this.attr3 = attr3 == null ? null : attr3.trim();
	}
	
	public String getAttr4()
	{
		return attr4;
	}
	
	public void setAttr4(String attr4)
	{
		this.attr4 = attr4 == null ? null : attr4.trim();
	}
	
	public Integer getOpenMode()
	{
		return openMode;
	}
	
	public void setOpenMode(Integer openMode)
	{
		this.openMode = openMode;
	}
	
	public String getStationUuid()
	{
		return stationUuid;
	}
	
	public void setStationUuid(String stationUuid)
	{
		this.stationUuid = stationUuid == null ? null : stationUuid.trim();
	}
	
	public Integer getPlateColor()
	{
		return plateColor;
	}
	
	public void setPlateColor(Integer plateColor)
	{
		this.plateColor = plateColor;
	}
	
	public Integer getPlateType()
	{
		return plateType;
	}
	
	public void setPlateType(Integer plateType)
	{
		this.plateType = plateType;
	}
	
	public Integer getPlateConfidence()
	{
		return plateConfidence;
	}
	
	public void setPlateConfidence(Integer plateConfidence)
	{
		this.plateConfidence = plateConfidence;
	}
	
	public String getIcNumber()
	{
		return icNumber;
	}
	
	public void setIcNumber(String icNumber)
	{
		this.icNumber = icNumber == null ? null : icNumber.trim();
	}
	
	public String getCarType()
	{
		return carType;
	}
	
	public void setCarType(String carType)
	{
		this.carType = carType;
	}
	
	public String getBillType()
	{
		return billType;
	}
	
	public void setBillType(String billType)
	{
		this.billType = billType == null ? null : billType.trim();
	}
	
	public String getOriginalCarNo()
	{
		return originalCarNo;
	}
	
	public void setOriginalCarNo(String originalCarNo)
	{
		this.originalCarNo = originalCarNo == null ? null : originalCarNo
				.trim();
	}
}